<li>
	<p>
	<%= link_to comment.owner.name, comment.owner %> (<%= l(comment.created_at) %>)
	<% if current_user == comment.owner or current_user.admin? %>
		<%= link_to t('comment.edit.title'), edit_document_comment_path(comment.document, comment) %>
		<%= button_to 'Delete', [comment.document, comment], method: :delete, confirm: 'Are you sure?' %>
	<% end %>
	</p>
	<p class="comment">
		<%= comment.content %>
	</p>
</li>